#pragma once

class BreakDetector
{
public:
	BreakDetector();
	~BreakDetector();

	void SetIdleThreshold(DWORD dwTicks);
	DWORD GetIdleThreshold() const;
	bool IsOnBreak();
	void PeriodicUpdate();

private:
	DWORD m_dwIdleThreshold;
	bool m_bIsOnBreak;
};
